<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="col-sm-12">
        <div class="ibox">
            <div class="ibox-body">
                <div class="fixed-table-toolbar">

                    <form class="form-inline">
                        <div class="form-group m-r">
                            <label for="name">芯片号</label>
                            <input type="text" class="form-control" id="con_num" placeholder="芯片号">
                        </div>
                        <div class="form-group m-r">
                            <label for="name">录入批次</label>
                            <input type="text" class="form-control" id="con_importBatchNum" placeholder="请输入录入批次">
                        </div>
						<div class="form-group m-r">
							<label for="name">使用状态</label>
							<sys:dict type="use_status" id="con_useStatus" name="con_useStatus" class="form-control"
									  style="width: 178px" firstValue="" firstText="请选择使用状态"/>
						</div>
                        <div class="form-group m-r">
                            <label for="name">结算批次</label>
                            <input type="text" class="form-control" id="con_settlementBatchNum" placeholder="请输入结算批次">
                        </div>
						<div class="form-group m-r">
							<label for="name">结算状态</label>
							<sys:dict type="settlement_status" id="con_settlementStatus" name="con_settlementStatus" class="form-control"
									  style="width: 178px" firstValue="" firstText="选择结算状态"/>
						</div>
						<div class="form-group m-r">
							<label for="name">养殖户</label>
							<span th:include="include :: selectDeptByCheckUser"></span>
						</div>
                    </form>

                    <div class="columns pull-left">
                        <button shiro:hasPermission="animal:rfidLabelUseInfo:export" type="button"
                                class="btn  btn-primary" onclick="exportData()">
                            <i class="fa fa-sign-out" aria-hidden="true"></i>导出
                        </button>
                        <button shiro:hasPermission="animal:rfidLabelUseInfo:add" type="button" class="btn  btn-primary"
                                onclick="add()">
                            <i class="fa fa-plus" aria-hidden="true"></i>添加
                        </button>
                        <button shiro:hasPermission="animal:rfidLabelUseInfo:batchRemove" type="button"
                                class="btn  btn-danger"
                                onclick="batchRemove()">
                            <i class="fa fa-trash" aria-hidden="true"></i>删除
                        </button>
                    </div>
                    <div class="columns pull-right">
                        <button class="btn btn-white" onclick="reset()">重置</button>
                        <button class="btn btn-success" onclick="reLoad()">查询</button>
                    </div>
                </div>
                <table id="exampleTable" data-mobile-responsive="true">
                </table>
            </div>
        </div>
    </div>
</div>
<!--shiro控制bootstraptable行内按钮看见性 来自ts的创新方案 -->
<div>
    <script type="text/javascript">
        var s_edit_h = 'hidden';
        var s_remove_h = 'hidden';
        var s_resetPwd_h = 'hidden';
    </script>
</div>
<div shiro:hasPermission="animal:rfidLabelUseInfo:edit">
    <script type="text/javascript">
        s_edit_h = '';
    </script>
</div>
<div shiro:hasPermission="animal:rfidLabelUseInfo:remove">
    <script type="text/javascript">
        var s_remove_h = '';
    </script>
</div>
<div shiro:hasPermission="animal:rfidLabelUseInfo:resetPwd">
    <script type="text/javascript">
        var s_resetPwd_h = '';
    </script>
</div>
</div>
<div th:include="include :: footer"></div>
<script type="text/javascript" src="js/appjs/animal/rfidLabelUseInfo/rfidLabelUseInfo.js"></script>
</body>
</html>
